use "C:\Users\flyfi\Dropbox\Research\Term limits & polarization\replication_flat\Masket roll call estimates.dta",clear

* Enactment vs. implementation
gen term=0
replace term=1 if year>1990
gen term2=0
replace term2=1 if year>1996

keep if year>1970

xtset candno

* Individual-level change; fixed effects, separate by party

xtreg dwnom1 term if partyc==100, fe cluster(candno)
	
xtreg dwnom1 term2 if partyc==100, fe cluster(candno)
	
xtreg dwnom1 term term2 if partyc==100, fe cluster(candno)

xtreg dwnom1 term if partyc==200, fe cluster(candno)

xtreg dwnom1 term2 if partyc==200, fe cluster(candno)
	
xtreg dwnom1 term term2 if partyc==200, fe cluster(candno)
	
	